import Vue from 'vue'
import App from './App.vue'

//初始化标签
import '@/assets/css/reset.css'
//自动适应宽度，改变font-size的大小
// import '@/assets/js/flexible.js'

//引入路由
import router from '@/router'

//引入store
import store from './store'


import { 
	NavBar,
	Tabbar, 
	TabbarItem,
	Icon,
	Search,
	Tab, 
	Tabs,
	Swipe,
	SwipeItem,
	Lazyload,
	Grid,
	GridItem,
	NoticeBar,
	Sticky,
	Card,
	Image as VanImage,
	Tag,
	Empty,
	GoodsAction, 
	GoodsActionIcon, 
	GoodsActionButton,
	SubmitBar,
	Col,
	Row,
	checkbox,
	Stepper, 
	Button,
	Field,
	Form,
	
} from 'vant';


Vue.use(NavBar);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Icon);
Vue.use(Search);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(NoticeBar);
Vue.use(Sticky );
Vue.use(Card);
Vue.use(VanImage);
Vue.use(Tag);
Vue.use(Empty);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(SubmitBar);
Vue.use(Col);
Vue.use(Row);
Vue.use(checkbox);
Vue.use(Stepper);
Vue.use(Button);
Vue.use(Field)
Vue.use(Form);

Vue.config.productionTip = false

new Vue({
	router,
	store,
  render: h => h(App),
}).$mount('#app')
